package org.arch_learn.servlet_container.components;

import java.util.ArrayList;
import java.util.List;

public class Server {
    private List<Service> services;

    public Server() {
        this.services = new ArrayList<>();
    }

    public List<Service> getServices() {
        return services;
    }

    public void setServices(List<Service> services) {
        this.services = services;
    }


    public void addService(Service service) {
        this.services.add(service);
    }
}
